package searchteam.client.ui.commands;

import searchteam.client.services.SearchTeamServicesAsync;
import searchteam.client.ui.callbacks.getAllPersonsCallback;
import searchteam.client.ui.widgets.DataPanel;

public class getAllPersonsCommand implements Command{
	
	private SearchTeamServicesAsync services;
	
	public getAllPersonsCommand(SearchTeamServicesAsync s) {
		services = s;
	}
	
	public void execute(DataPanel p) {
		services.getAllPersons(new getAllPersonsCallback(p));
	}

}
